﻿<%@ page title="" language="C#" masterpagefile="~/BankMasterPage.master" autoeventwireup="true" inherits="PL_CustomerTransactions, App_Web_1zw2ahqk" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .auto-style5
        {
            width: 100%;
            flex-align:center;
        }
    </style>
 </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
        <table class="auto-style5" >
            <tr>
                <td>
                    <br />
                    <br />
                    <asp:Label ID="ViewtransactonsLbl" runat="server" Font-Bold="True" Font-Italic="True" Font-Size="X-Large" ForeColor="#3333CC" Text="View Your Transactions"></asp:Label>
                    <br />
                </td>
            </tr>
            <tr>
                <td>
                    <br />
                    <asp:Label ID="CreditsLbl" runat="server" Font-Bold="True" Font-Size="X-Large" ForeColor="#CC3300" Text="Credits"></asp:Label>
                    <br />
                </td>
            </tr>
           
            <tr>
                <td align="center">
                    <asp:GridView ID="CreditsGrid" runat="server" AllowPaging="True" 
                        OnPageIndexChanging="CreditsGrid_PageIndexChanging" PageSize="5" AutoGenerateColumns="False">
                        <Columns>

                         <asp:TemplateField SortExpression="Payer Account ID" HeaderText="Payer Account ID">  <HeaderStyle Font-Bold="True" ForeColor="#FFFFCC" Font-Italic="True" Font-Size="Larger" />
                        <ItemTemplate>
                            <asp:Label ID="PayerAccountIdLbl0" Text='<%# Eval("PayerAccountId") %>' Visible="true"  ForeColor="#990033" runat="server" />
                          </ItemTemplate>
                             <ItemStyle Font-Bold="True" Font-Italic="False" />
                    </asp:TemplateField>

                            <asp:TemplateField SortExpression="Amount" HeaderText="Amount">  <HeaderStyle Font-Bold="True" ForeColor="#FFFFCC" Font-Italic="True" Font-Size="Larger" />
                        <ItemTemplate>
                            <asp:Label ID="AmountLbl0" Text='<%# Eval("Amount") %>' Visible="true"  ForeColor="#990033" runat="server" />
                          </ItemTemplate>
                                <ItemStyle Font-Bold="True" Font-Italic="False" />
                    </asp:TemplateField>


                            <asp:TemplateField SortExpression="TransactionDate" HeaderText="Transaction Date">  
                                <FooterStyle Font-Bold="True" Font-Italic="True" />
                                <HeaderStyle Font-Bold="True" ForeColor="#FFFFCC" Font-Italic="True" Font-Size="Larger" />
                        <ItemTemplate>
                            <asp:Label ID="TransactionDateLbl0" Text='<%# Eval("TransactionDate", "{0:d}") %>' Visible="true"  ForeColor="#990033" runat="server" />
                          </ItemTemplate>
                                <ItemStyle Font-Bold="True" Font-Italic="False" />
                    </asp:TemplateField>
                              </Columns>
                     
<FooterStyle BackColor="#CCCCCC" />
            <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
            <RowStyle BackColor="White" />
            <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#808080" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#383838" />
            
                                             </asp:GridView>              
                    <br />
                    <br />
                </td>
            </tr>
           
            <tr>
                

                <td>  
                    <br />
                    <asp:Label ID="DebitsLbl" runat="server" Font-Bold="True" Font-Size="X-Large" ForeColor="#CC3300" Text="Debits"></asp:Label>
                    <br />
                </td>
            </tr>
           
            <tr>
                

                <td align="center">  <asp:GridView ID="DebitGridView" runat="server" AllowPaging="True" 
                        OnPageIndexChanging="DebitGridView_PageIndexChanging" PageSize="5" AutoGenerateColumns="False" OnSelectedIndexChanged="DebitGridView_SelectedIndexChanged">
                        <Columns>

                         <asp:TemplateField SortExpression="Payee Account ID" HeaderText="Payee Account ID">  <HeaderStyle Font-Bold="True" ForeColor="#FFFFCC" Font-Italic="True" Font-Size="Larger" />
                        <ItemTemplate>
                            <asp:Label ID="PayeeAccountIdLbl" Text='<%# Eval("PayeeAccountId") %>' Visible="true"  ForeColor="#990033" runat="server" />
                          </ItemTemplate>
                             <ItemStyle Font-Bold="True" Font-Italic="False" />
                    </asp:TemplateField>

                            <asp:TemplateField SortExpression="Amount" HeaderText="Amount">  <HeaderStyle Font-Bold="True" ForeColor="#FFFFCC" Font-Italic="True" Font-Size="Larger" />
                        <ItemTemplate>
                            <asp:Label ID="AmountLbl" Text='<%# Eval("Amount") %>' Visible="true"  ForeColor="#990033" runat="server" />
                          </ItemTemplate>
                                <ItemStyle Font-Bold="True" Font-Italic="False" />
                    </asp:TemplateField>


                            <asp:TemplateField SortExpression="TransactionDate" HeaderText="Transaction Date">  <HeaderStyle Font-Bold="True" ForeColor="#FFFFCC" Font-Italic="True" Font-Size="Larger" />
                        <ItemTemplate>
                            <asp:Label ID="TransactionDateLbl" Text='<%# Eval("TransactionDate", "{0:d}") %>' Visible="true"  ForeColor="#990033" runat="server" />
                          </ItemTemplate>
                                <ItemStyle Font-Bold="True" Font-Italic="False" />
                    </asp:TemplateField>
                              </Columns>
                     
<FooterStyle BackColor="#CCCCCC" />
            <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
            <RowStyle BackColor="White" />
            <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#808080" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#383838" />
            
                                             </asp:GridView> </td>
            </tr>
            <tr>
                <td align="center">    
                    <br />
                    <br />
                    <table>
                      
                   <tr><td>
                       <%--   <asp:GridView ID="GridView2" runat="server" AllowPaging="True" AutoGenerateColumns="False" BackColor="#CCCCCC" BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" Caption="Debits" CellPadding="4" CellSpacing="2" Font-Bold="True" Font-Size="Medium" ForeColor="Black" OnPageIndexChanging="GridView2_PageIndexChanging" OnSelectedIndexChanged="GridView2_SelectedIndexChanged" PageSize="5">
                        <Columns>
                            <asp:BoundField DataField="PayeeAccountId" HeaderText="Payee Account Id">
                            <HeaderStyle Font-Bold="True" ForeColor="#CC0066" />
                            <ItemStyle ForeColor="#0000CC" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Amount" HeaderText="Amount">
                            <HeaderStyle Font-Bold="True" ForeColor="#CC0066" />
                            <ItemStyle ForeColor="#0000CC" />
                            </asp:BoundField>
                            <asp:BoundField DataField="TransactionDate" DataFormatString="{0:d}" HeaderText="Transaction Date">
                            <HeaderStyle Font-Bold="True" ForeColor="#CC0066" />
                            <ItemStyle ForeColor="#0000CC" />
                            </asp:BoundField>
                        </Columns>
                        <FooterStyle BackColor="#CCCCCC" />
                        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
                        <RowStyle BackColor="White" />
                        <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                        <SortedAscendingCellStyle BackColor="#F1F1F1" />
                        <SortedAscendingHeaderStyle BackColor="#808080" />
                        <SortedDescendingCellStyle BackColor="#CAC9C9" />
                        <SortedDescendingHeaderStyle BackColor="#383838" />
                    </asp:GridView></td></tr>
                          <tr><td>
        <asp:GridView ID="GridView1" runat="server"  align="center" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" AutoGenerateColumns="False" AllowPaging="True" BackColor="#CCCCCC" BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" CellPadding="4" CellSpacing="2" ForeColor="Black" OnPageIndexChanging="GridView1_PageIndexChanging" PageSize="6" Caption="Credits" CaptionAlign="Top" Font-Bold="True" OnPageIndexChanged="GridView1_PageIndexChanged">
            <Columns>
                <asp:BoundField DataField="PayerAccountId" HeaderText="Payer Account Id">
                <HeaderStyle Font-Bold="True" ForeColor="#CC0066" />
                <ItemStyle ForeColor="#0000CC" />
                </asp:BoundField>
                <asp:BoundField DataField="Amount" HeaderText="Amount">
                <HeaderStyle Font-Bold="True" ForeColor="#CC0066" />
                <ItemStyle ForeColor="#0000CC" />
                </asp:BoundField>
                <asp:BoundField DataField="TransactionDate" DataFormatString="{0:d}" HeaderText="Transaction Date">
                <HeaderStyle Font-Bold="True" ForeColor="#CC0066" />
                <ItemStyle ForeColor="#0000CC" />
                </asp:BoundField>
            </Columns>
            <FooterStyle BackColor="#CCCCCC" />
            <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
            <RowStyle BackColor="White" />
            <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#808080" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#383838" />
        </asp:GridView>--%>
    </td></tr>
                        </table>
    
                </td>
            </tr>
        </table>
    
  </asp:Content>
